package com.etc.doctor.service;


import com.etc.common.entity.BasicDoctor;
import com.etc.common.utils.Result;
import com.fasterxml.jackson.core.JsonProcessingException;

import javax.servlet.http.HttpServletRequest;

public interface LoginAndRegisterService {
    Result login(String userName, String password, HttpServletRequest request) throws JsonProcessingException;

    Result register(BasicDoctor doctor) throws JsonProcessingException;

}
